mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Mon, 9 Sep 2024 12:56:19 +0000 (14:56 +0200)
committerGianfranco Costamagna <locutusofborg@debian.org>
Mon, 9 Sep 2024 12:56:19 +0000 (14:56 +0200)
commit0ba56308116600de9f57a1dc28a08daf748deed1
tree1a0e64ef4912dd1d1da0bcb820adf20798db1e54
parentc9d70b1332f67f66daacd2e7eef61ae17aa78627
mips-force-nomadd4

The MIPS port aims to support the Loongson 3 family of CPUs in addition
of the other MIPS CPUs. On the Loongson 3 family the MADD4 instructions
are fused, while they are not fused on the other MIPS CPUs. In order to
support both, we have to disabled those instructions.

For that, the patch below basically corresponds to the --with-madd4=no
used on the GCC side.

Gbp-Pq: Topic mips
Gbp-Pq: Name mips-force-nomadd4.patch
clang/lib/Basic/Targets/Mips.h